<?php

defined('_JEXEC') or die('Restricted access');
?>
<div class="componentheading">Search</div>



<form action="<? echo "index.php?option=com_nv&view=search" ?>" method="post" name="adminForm" id="adminForm">

<table class="admintable">
<tr>
<td>
Masukkan Kata Kunci :
</td>
<td width="100" align="right" class="key">
<input name="searchObj" type="text" />
</td>

<td>
<input name="searchBtn" type="submit" value="cari" />
</td>
</tr>
</table>


</form>

<div class="searchResult">
<ul>

<? 
if ($_POST[searchObj]){

	 foreach($this->data as $search){
	 
	 $URLObjek = JURI::base()."index.php?option=com_nv&view=objek&nama=".$search->name;
 									 				
	 

	 												  
	 															  
	 
 ?>

<li><a href="<?  echo $URLObjek ?>" ><?echo $search->name; ?> </a></li>


<? }//foreach
}//if
?>

</ul>
</div>

